#ifndef __FPGA_INTERFACE_H
#define __FPGA_INTERFACE_H
#include <stdint.h>
#include "fpga_addr_define.h"


/**
 * @brief 初始化FPGA
 */
int FpgaInf_Init(void);


/**
 * @brief 反向初始化FPGA
 */
int FpgaInf_Uninit(void);


/**
 * @brief 读FPGA
 */
int FpgaInf_Read(uint32_t addr, uint16_t *pValue);


/**
 * @brief 写FPGA
 */
int FpgaInf_Write(uint32_t addr, uint16_t value);


#endif
